<extend name="Public/base"/>

<block name="body">
    <div class="main-title">
        <h2>新增早市商品</h2>
    </div>
    <form action="{:U()}" method="post" enctype="multipart/form-data" class="form-horizontal">
       
        <div class="form-item">
            <label class="item-label">商品名称</label>
            
            <div class="controls">
                <table >
                    <tr>
                        <td>
                            <select data-form="select2" style="height: 30px; width:207px;" name="specid" id="specid">
                                <option value="">请选择...</option>
                                <volist name="_prolist" id="pl">
                                    <option value={$pl.id}>{$pl.pname}({$pl.name})</option>
                                </volist>
                            </slect>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">开始时间</label>
            <div class="controls">
                <select id='begin' name='begin'>
                    <option value=''>请选择...</option>
                    <option value='12'>12点</option>
                    <option value='13'>13点</option>
                    <option value='14'>14点</option>
                    <option value='15'>15点</option>
                    <option value='16'>16点</option>
                    <option value='17'>17点</option>
                    <option value='18'>18点</option>
                    <option value='20'>20点</option>
                    <option value='21'>21点</option>
                    <option value='22'>22点</option>
                    <option value='23'>23点</option>
                    <option value='24'>24点</option>
                </select>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">结束时间</label>
            <div class="controls">
                <select id='begin' name='end'>
                    <option value=''>请选择...</option>
                    <option value='1'>1点</option>
                    <option value='2'>2点</option>
                    <option value='3'>3点</option>
                    <option value='4'>4点</option>
                    <option value='5'>5点</option>
                    <option value='6'>6点</option>
                    <option value='7'>7点</option>
                    <option value='8'>8点</option>
                    <option value='9'>9点</option>
                    <option value='10'>10点</option>
                    <option value='11'>11点</option>
                    <option value='12'>12点</option>
                </select>
            </div>
        </div>
         
        <div class="form-item">
            <button class="btn submit-btn" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('MorningMarket/index')}');
    </script>
</block>
